<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>testDocument</title>
    <script src="http://www.jianvary.com/jquery.js"></script>
    <script src="http://www.jianvary.com/tool/layer/layer.js"></script>
    <!-- <link rel="stylesheet" href="http://www.jianvary.com/tool/layer/theme/default/layer.css" type="text/css" /> -->
</head>
<body>

        <a class="layui-btn layui-btn-primary" href="javascript:;">小tips</a>
    <script>
        console.log((function(){
            return 1+2+ //一中三小
            3+4;
        })());

        //小tips

    $('.layui-btn').click(function(){
        layer.msg('玩命提示中');
    });
    
    </script>
</body>
</html>